var file = open("a.txt",fmWrite)
var a = 0
while true:
  a+=1
  file.write(a)
file.close()